//
// Created by DELL on 2023/12/14.
//

#ifndef _BMI088MIDDLEWARE_H
#define _BMI088MIDDLEWARE_H
#include "main.h"
#ifdef __cplusplus
extern "C" {
#endif
//C
extern void BMI088_GPIO_init(void);
extern void BMI088_com_init(void);
extern void BMI088_delay_ms(uint16_t ms);
extern void BMI088_delay_us(uint16_t us);

extern void BMI088_ACCEL_NS_L(void);
extern void BMI088_ACCEL_NS_H(void);

extern void BMI088_GYRO_NS_L(void);
extern void BMI088_GYRO_NS_H(void);

extern uint8_t BMI088_read_write_byte(uint8_t reg);

extern SPI_HandleTypeDef *BMI088_SPI;

#ifdef __cplusplus
}
#endif
//C++

#endif //TRANSFERTOC_RM_CHASSIS_BMI088MIDDLEWARE_H
